package com.campus.entity;

import io.swagger.v3.oas.models.security.SecurityScheme;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Users {

private String userId;
private String username;
private String email;
private String password;
private String nickname;
private String phone;
private char gender;
private Date birthday;
private String bio;
private Integer status;
private Date createTime;
private Date updateTime;
    public Users(String userId, String username, String nickname){
        this.userId=userId;
        this.nickname=nickname;
        this.username=username;
    }
}